from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .category  import category_router
from .attribute import attribute_router
from .brand import brand_router
from .goods import all_goods_router
from .express import express_router
from .group import group_router

goods_router = APIRouter()
goods_router.include_router(category_router, prefix="/category", tags=["后端-商品类目"], dependencies=[DependPermisson])
goods_router.include_router(attribute_router, prefix="/attribute", tags=["后端-商品属性"], dependencies=[DependPermisson])
goods_router.include_router(brand_router, prefix="/brand", tags=["后端-商品品牌"], dependencies=[DependPermisson])
goods_router.include_router(all_goods_router, prefix="/goods", tags=["后端-商品模块"], dependencies=[DependPermisson])
goods_router.include_router(express_router, prefix="/express", tags=["后端-运费模板"], dependencies=[DependPermisson])
goods_router.include_router(group_router, prefix="/group", tags=["后端-组合包"], dependencies=[DependPermisson])
